Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add h5test_wrapper.h to isolate gcc and g++ to compile _Float16 files… #221

Merged
merged 1 commit into from
May 22, 2024

Conversation

hyoklee
Copy link
Owner

@hyoklee hyoklee commented May 22, 2024

… on aarch64

_Float16 was supported in commit 330b80a.

However there is build error report in aarch64, like this: ../../../src/H5private.h:605:23: error: '_Float16' does not name a type; did you mean '_Float64'?
605 | extension typedef _Float16 H5__Float16;
| ^~~~~~~~
| _Float64
make[2]: *** [Makefile:972: dsets.o] Error 1
make[1]: *** [Makefile:910: all-recursive] Error 1
make: *** [Makefile:739: all-recursive] Error 1

This commit adds a wrapper to isolate this difference

… on aarch64

_Float16 was supported in commit 330b80a.

However there is build error report in aarch64, like this:
../../../src/H5private.h:605:23: error: '_Float16' does not name a type; did you mean '_Float64'?
  605 | __extension__ typedef _Float16 H5__Float16;
      |                       ^~~~~~~~
      |                       _Float64
make[2]: *** [Makefile:972: dsets.o] Error 1
make[1]: *** [Makefile:910: all-recursive] Error 1
make: *** [Makefile:739: all-recursive] Error 1

This commit adds a wrapper to isolate this difference

Signed-off-by: abushwang <abushwangs@gmail.com>
@hyoklee hyoklee merged commit 04828dd into hyoklee:develop May 22, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants